package com.oracle.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ordersetting implements Serializable {

    private Integer id;
//    预约日期
    private Date orderDate;
    //可预约人数
    private Integer number;
    //已预约人数
    private int reservations;

    public Ordersetting(Date orderDate, Integer number) {
        this.orderDate = orderDate;
        this.number = number;
    }
}
